// bool, Obj This, point pt

Hero this;

this = This.AsHero();

if(!.IsValid()) return false;
if(.HasItem("igreat_charge")) return false;
if(.HasItem("iretreat_notai")) return false;
if(!.IsHeirOf("Military")) return false;

return true;
